import type { RouteRecordRaw } from 'vue-router';

import { BasicLayout } from '#/layouts';
import { $t } from '#/locales';

const routes: RouteRecordRaw[] = [
  {
    component: BasicLayout,
    meta: {
      icon: 'lucide:layout-dashboard',
      order: 2,
      title: '素材管理',
    },
    name: 'MaterialManagement',
    path: '/materialManagement',
    children: [
      // {
      //   name: 'Tag',
      //   path: '/tag',
      //   component: () => import('#/views/auto_world/material/tag.vue'),
      //   meta: {
      //     affixTab: true,
      //     icon: 'lucide:area-chart',
      //     title: '标签',
      //   },
      // },
      {
        name: 'Video',
        path: '/video',
        component: () => import('#/views/auto_world/material/video.vue'),
        meta: {
          affixTab: true,
          icon: 'lucide:area-chart',
          title: '视频',
        },
      },
      // {
      //   name: 'Picture',
      //   path: '/picture',
      //   component: () => import('#/views/auto_world/material/picture.vue'),
      //   meta: {
      //     affixTab: true,
      //     icon: 'lucide:area-chart',
      //     title: '图片',
      //   },
      // },
      {
        name: 'Vehicle',
        path: '/vehicle',
        component: () => import('#/views/auto_world/material/vehicle.vue'),
        meta: {
          affixTab: true,
          icon: 'lucide:area-chart',
          title: '车型信息',
        },
      },
    ],
  },
];

export default routes;
